projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2677ad6
)
(shrink-window-if-larger-than-buffer):
author
Richard M. Stallman
<rms@gnu.org>
Thu, 15 Sep 1994 03:10:00 +0000
(
03:10
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 15 Sep 1994 03:10:00 +0000
(
03:10
+0000)
Use frame-width, not screen-width.
lisp/window.el
patch
|
blob
|
history
diff --git
a/lisp/window.el
b/lisp/window.el
index 305df621888afe26b97f8943a2c36e23d83de7c4..b8535648307666a82695e118206c645d322699d5 100644
(file)
--- a/
lisp/window.el
+++ b/
lisp/window.el
@@
-168,7
+168,7
@@
or if the window is the only window of its frame."
(mini (cdr (assq 'minibuffer (frame-parameters))))
(edges (window-edges (selected-window))))
(if (and (< 1 (count-windows))
- (= (window-width) (
screen
-width))
+ (= (window-width) (
frame
-width))
(pos-visible-in-window-p (point-min) window)
(or (not mini)
(< (nth 3 edges)